package com.chen.manager.mapper;

import com.chen.model.dto.product.CategoryBrandDto;
import com.chen.model.entity.product.CategoryBrand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 3/8/25 9:13 AM
 */
@Mapper
public interface CategoryBrandMapper {
    List<CategoryBrand> selectByCategoryBrandDto(CategoryBrandDto categoryBrandDto);

    void insertCategoryBrand(CategoryBrandDto categoryBrandDto);

    void updateCategoryBrand(CategoryBrandDto categoryBrandDto);


    void delCategoryBrand(Long id);

    Long selectCount(CategoryBrandDto categoryBrandDto);

}
